<?php
defined('_JEXEC') or die('Restricted access');
jimport('joomla.application.component.controller');

class ComplaintsController extends JController {
	function __construct() {
		if(JRequest::getCmd('view') == '') {
			JRequest::setVar('view', 'default');
		}
		$this->item_type = 'Default';
		parent::__construct();
	}

	function complaint() {
		JRequest::setVar('view', 'complaint');
		parent::display();
	}

	function score() {
		JRequest::setVar('view', 'score');
		parent::display();
	}

	function comment() {
		JRequest::setVar('view', 'comment');
		parent::display();
	}

}
?>
